import Taro from '@tarojs/taro';

export const checkLogin = () => {
  const token = Taro.getStorageSync('token');
  const verification_pass = Taro.getStorageSync('verification_pass');

  if (!token || !verification_pass) {
    return false;
  }
  return true;
};